package com.hsy.baoinbao.modules.main.ui.activity;

import java.util.List;

/**
 * Created by Administrator on 2016/4/15.
 */
public class IntoGsonData {


    private int error;

    private String msg;

    private Result result;

    public void setError(int error) {
        this.error = error;
    }

    public int getError() {
        return this.error;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getMsg() {
        return this.msg;
    }

    public void setResult(Result result) {
        this.result = result;
    }

    public Result getResult() {
        return this.result;
    }


    public class User {
        private int id;

        private String name_merchant;

        private String name;

        private String user_name;

        private String address;

        public void setId(int id) {
            this.id = id;
        }

        public int getId() {
            return this.id;
        }

        public void setName_merchant(String name_merchant) {
            this.name_merchant = name_merchant;
        }

        public String getName_merchant() {
            return this.name_merchant;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getName() {
            return this.name;
        }


        public void setAddress(String address) {
            this.address = address;
        }

        public String getAddress() {
            return this.address;
        }

        public String getUser_name() {
            return user_name;
        }

        public void setUser_name(String user_name) {
            this.user_name = user_name;
        }
    }

    public class Children {
        private int id;

        private String name;

        private String price;

        private String unit;

        private int parent_id;

        private int qty;

        public void setId(int id) {
            this.id = id;
        }

        public int getId() {
            return this.id;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getName() {
            return this.name;
        }


        public void setUnit(String unit) {
            this.unit = unit;
        }

        public String getUnit() {
            return this.unit;
        }

        public void setParent_id(int parent_id) {
            this.parent_id = parent_id;
        }

        public int getParent_id() {
            return this.parent_id;
        }

        public void setQty(int qty) {
            this.qty = qty;
        }

        public int getQty() {
            return this.qty;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }
    }

    public class Category {
        private int id;

        private String name;

        private List<Children> children;

        public void setId(int id) {
            this.id = id;
        }

        public int getId() {
            return this.id;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getName() {
            return this.name;
        }

        public void setChildren(List<Children> children) {
            this.children = children;
        }

        public List<Children> getChildren() {
            return this.children;
        }

    }

    public class Result {
        private User user;

        private List<Category> category;

        public void setUser(User user) {
            this.user = user;
        }

        public User getUser() {
            return this.user;
        }

        public void setCategory(List<Category> category) {
            this.category = category;
        }

        public List<Category> getCategory() {
            return this.category;
        }

    }


}
